package com.projectsexception.festivales;

import java.util.Date;
import java.util.List;

import com.projectsexception.festivales.setup.ProjectResources;
import com.projectsexception.festivales.util.DateFormater;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class TabScheduleActivity extends Activity {
    
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.tab_schedule);
        
        ProjectResources res = ProjectResources.getInstance();
        List<Date> showDates = res.getShowDates();
        TextView textView = (TextView) findViewById(R.id.texto);
        for (Date date : showDates) {
            textView.append("\n");
            textView.append(DateFormater.formatShowDate(date));
        }
    }
}
